import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import Vant from 'vant'
import 'vant/lib/index.css'
// 引入文件全局样式
import './styles/main.css'

import App from './App.vue'
import router from './router'
import persist from 'pinia-plugin-persistedstate'
const app = createApp(App)
const pinia = createPinia()
pinia.use(persist)

// app.use(createPinia())
app.use(router)
app.use(Vant)
app.use(pinia)

app.mount('#app')
